﻿using System.Web;
using System.Web.Mvc;
using TjZheng.Example.MVC.Controllers;
using TjZheng.Example.MVC.Filter;
using TjZheng.Mvc;

namespace TjZheng.Example.MVC
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new ExceptionFilter());
            //filters.Add(new FooFilter("Global.FooFilter"));
            //filters.Add(new EncryptionFilter(false));
            //filters.Add(new RainFilter("全局"));
            //filters.Add(new HandleErrorAttribute());
        }
    }
}